package com.entity;

public class City {

    private String cityName;
    private int asStartCityFlightAmount;//作为出发城市航班数
    private int asArriveCityFlightAmount;//作为到达城市航班数
    private int flightThroughput; //吞吐量

    public City() {
    }

    public City(String cityName, int flightThroughput) {
        this.cityName = cityName;
        this.flightThroughput = flightThroughput;
    }

    @Override
    public String toString() {
        return "City{" +
                "cityName='" + cityName + '\'' +
                ", flightThroughput=" + flightThroughput +
                '}';
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getAsStartCityFlightAmount() {
        return asStartCityFlightAmount;
    }

    public void setAsStartCityFlightAmount(int asStartCityFlightAmount) {
        this.asStartCityFlightAmount = asStartCityFlightAmount;
    }

    public int getAsArriveCityFlightAmount() {
        return asArriveCityFlightAmount;
    }

    public void setAsArriveCityFlightAmount(int asArriveCityFlightAmount) {
        this.asArriveCityFlightAmount = asArriveCityFlightAmount;
    }

    public int getFlightThroughput() {
        return flightThroughput;
    }

    public void setFlightThroughput(int flightThroughput) {
        this.flightThroughput = flightThroughput;
    }
}
